using System;

namespace Qplus.protocol
{

    public class U2C_RESP_SESSION_BEGIN : InPacket {

	    private long appID;
	    private long sessionID;
	    private long friendID;
	    private int result;

	    
	    protected override void parseBody(byte[] data, int offset, int count) {
		    appID = get4(data);
		    sessionID = get4(data);
		    friendID = get4(data);
		    result = get1(data);
	    }

	    public long getAppID() {
		    return appID;
	    }

	    public void setAppID(long appID) {
		    this.appID = appID;
	    }

	    public long getSessionID() {
		    return sessionID;
	    }

	    public void setSessionID(long sessionID) {
		    this.sessionID = sessionID;
	    }

	    public long getFriendID() {
		    return friendID;
	    }

	    public void setFriendID(long friendID) {
		    this.friendID = friendID;
	    }

	    public int getResult() {
		    return result;
	    }

	    public void setResult(int result) {
		    this.result = result;
	    }

    }
}
